package net.atomarrow.db.parser;

import java.io.Serializable;

/**
 * 表达式
 * @author Michael
 *
 */
public class Expression implements Serializable{
	
	private String sql;
	private Serializable[] params;
	public Expression(String sql){
		this.sql=sql;
	}
	public Expression(String sql,Serializable... params){
		this.sql=sql;
		this.params=params;
	}
	public String getSql() {
		return sql;
	}
	public void setSql(String sql) {
		this.sql = sql;
	}
	public Serializable[] getParams() {
		return params;
	}
	public void setParams(Serializable[] params) {
		this.params = params;
	}
	
}

